﻿<%@ Control Language="C#" %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.Nitobi2" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>
<div id="article" class="articlebox">
	<swf:ReadOnlyText CssClass="title" ID="product_title" runat="server" />
	<p></p>
	<div class="mainMediaArea">
		<asp:Image CssClass="media" ID="product_primaryPicture_name" runat="server" ImageUrl="/$mediaCacheName$/$imageRes$/$primaryPicture.name$" EnableViewState="false"/><br />
		<swf:ReadOnlyText CssClass="caption" ID="product_primaryPicture_caption" runat="server" />
	</div>
	<swf:ReadOnlyText CssClass="body" ID="body" runat="server"  Width="100%" Height="100%" />
</div>
<table>
	<tr><td><asp:Label ID="partIdLbl" runat="server">Part #:</asp:Label></td><td><swf:ReadOnlyText runat="server" ID="product_partId" /></td></tr>
	<tr><td><asp:Label ID="sellPriceLbl" runat="server">Sell Price:</asp:Label></td><td><swf:ReadOnlyText runat="server" ID="product_sellPriceFormated" /></td></tr>
	<tr>
		<td><asp:Label ID="weightLbl" runat="server">Weight:</asp:Label></td>
		<td><swf:ReadOnlyText runat="server" ID="weight_amount" /><swf:ReadOnlyText runat="server" ID="weight_unit" /></td>
	</tr>
	<tr><td colspan="2">
	<table><tr>
		<td><asp:Label ID="dimLbl" runat="server">Dimensions:</asp:Label>
			<asp:Label ID="widthLbl" runat="server">W:</asp:Label></td><td><swf:ReadOnlyText runat="server" ID="product_dimensions_width_amount" /></td>
		<td><asp:Label ID="lengthLbl" runat="server">L:</asp:Label></td><td><swf:ReadOnlyText runat="server" ID="product_dimensions_length_amount" /></td>
		<td><asp:Label ID="depthLbl" runat="server">D:</asp:Label></td><td><swf:ReadOnlyText runat="server" ID="product_dimensions_depth_amount" /></td>
	</tr></table></td></tr>
</table>
<div class="ecomQty">
<table>
	<tr>
		<td><h2><asp:Label ID="quantityLbl" runat="server">Quantity:</asp:Label></h2></td>
		<td><asp:TextBox runat="server" ID="inputQty"  /></td>
	</tr>
	<tr>
		<td colspan="2">
			<span class="checkOutBtn"><snc:ActionButton runat="server" ID="add2CartBtn" Actions="orderItemBP.AddBizObj" Text="Add To Cart"  /></span>		
		</td>
	</tr>
</table>
</div>

